/* 新闻弹窗样式 */
.news-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-popup.active {
    opacity: 1;
    visibility: visible;
}

.news-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.news-popup-content {
    position: relative;
    width: 90%;
    max-width: 1520px;
    max-height: 90vh;
    background: #fff;
    border-radius: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1;
}

.news-popup.active .news-popup-content {
    transform: translateY(0);
}

.news-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.3s;
}

.news-popup-close:hover {
    background: #e5e5e5;
}

.news-popup-close::before,
.news-popup-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1px;
    background: #333;
}

.news-popup-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.news-popup-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.news-popup-body {
    padding: 60px;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.popup-title {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.popup-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 40px;
    display: block;
}

.popup-content {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

@media (max-width: 768px) {
    .news-popup-body {
        padding: 40px 20px;
    }
    
    .popup-title {
        font-size: 20px;
    }
}

.hidecontent{display: none;}

/* 自定义滚动条样式 */
.popup-content::-webkit-scrollbar {
    width: 6px;
}

.popup-content::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.popup-content::-webkit-scrollbar-thumb {
    background: #1E9784;
    border-radius: 3px;
}

/* 在文件末尾添加视频弹窗样式 */
.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-popup.active {
    opacity: 1;
    visibility: visible;
}

.video-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.video-popup-content {
    position: relative;
    width: 90%;
    max-width: 1520px;
    z-index: 1;
}

.video-popup-close {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.video-popup-close::before,
.video-popup-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background: #fff;
}

.video-popup-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.video-popup-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.video-popup-body {
    width: 100%;
    padding-top: 56.25%; /* 16:9 比例 */
    position: relative;
}

.video-popup-body video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
}

@media (max-width: 768px) {
    .video-popup-close {
        top: -50px;
        right: 0;
    }
}